var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/upload.controller');
/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a upload');
});
router.post('/uploads',dataCtrl.upload);
router.delete('/data/:id',dataCtrl.remove);
router.post('/list',dataCtrl.list);
module.exports = router;
